package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.TakeoutMenuInfo;
import com.pj.wisdomlogistics.entity.WeekSsMenuInfo;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;

import java.util.List;


public interface TakeoutMealContract {
    public interface View extends BaseView {
        void showError(String errorMsg);
        void showMenuSuccess(TakeoutMenuInfo mMenuInfo);
        void showWeekMenuSuccess(List<WeekSsMenuInfo> mWeekSsMenuInfos);
        void showSendSuccess();
        void getTimeSuccess(String time);
    }

    public interface Presenter extends BasePresenter {
        public void findOutFoodList(int place);
        public void findCookFoodList();
        public void submitFoodApply(String cookFood , String outFood , String userId , int place);
        public void getTimestamp();
    }
}
